package com.haixiaoke.saas.lock.mapper;

import com.haixiaoke.saas.lock.domain.LockOperatingRecord;

import java.util.List;


/**
 * 锁操作记录Mapper接口
 *
 * @author xiaolong
 * @date 2025-04-11
 */
public interface LockOperatingRecordMapper {
    /**
     * 查询锁操作记录
     *
     * @param lockOperatingRecordId 锁操作记录主键
     * @return 锁操作记录
     */
    public LockOperatingRecord selectLockOperatingRecordByLockOperatingRecordId(Long lockOperatingRecordId);

    /**
     * 查询锁操作记录列表
     *
     * @param lockOperatingRecord 锁操作记录
     * @return 锁操作记录集合
     */
    public List<LockOperatingRecord> selectLockOperatingRecordList(LockOperatingRecord lockOperatingRecord);

    /**
     * 新增锁操作记录
     *
     * @param lockOperatingRecord 锁操作记录
     * @return 结果
     */
    public int insertLockOperatingRecord(LockOperatingRecord lockOperatingRecord);

    /**
     * 修改锁操作记录
     *
     * @param lockOperatingRecord 锁操作记录
     * @return 结果
     */
    public int updateLockOperatingRecord(LockOperatingRecord lockOperatingRecord);

    /**
     * 删除锁操作记录
     *
     * @param lockOperatingRecordId 锁操作记录主键
     * @return 结果
     */
    public int deleteLockOperatingRecordByLockOperatingRecordId(Long lockOperatingRecordId);

    /**
     * 批量删除锁操作记录
     *
     * @param lockOperatingRecordIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLockOperatingRecordByLockOperatingRecordIds(Long[] lockOperatingRecordIds);

    /**
     * 批量插入锁操作记录
     */
    int batchInsertLockOperatingRecord(List<LockOperatingRecord> lockOperatingRecordList);

}
